public class GxClientFilterCombinedModel
extends GxClientFilterAbstractModel
A filter a which wraps two filter models and combine them with an OR
or AND
operator
Modifier and Type | Field and Description |
---|---|
GxClientFilterModel | FirstCondition! The first filter condition |
BBjString | Operator! The combine operator |
GxClientFilterModel | SecondCondition! The second filter condition |
Constructor and Description |
---|
GxClientFilterCombinedModel(GxClientFilterModel condition1!) Construct new GxClientFilterCombinedModel |
GxClientFilterCombinedModel(GxClientFilterModel.html">GxClientFilterModel condition1! , GxClientFilterModel.html">GxClientFilterModel condition2!) Construct new GxClientFilterCombinedModel |
GxClientFilterCombinedModel(GxClientFilterModel.html">GxClientFilterModel condition1! , GxClientFilterModel.html">GxClientFilterModel condition2! , BBjString operator!) Construct new GxClientFilterCombinedModel |
Modifier and Type | Method and Description |
---|---|
void | clearFilter() Clear the filter |
JsonObject | getAsJsonObject() {@inheritDoc} |
static BBjString | OPERATOR_AND() Constant value which defines the |
static BBjString | OPERATOR_OR() Constant value which defines the |
void | setFirstCondition(GxClientFilterModel condition!) Set the first condition |
void | setSecondCondition(GxClientFilterModel condition!) Set the first condition |
BBjNumber | supportsCombinedModel() {@inheritDoc} |
public GxClientFilterModel FirstCondition!
The first filter condition
public BBjString Operator!
The combine operator
GxClientFilterCombinedModel.OPERATOR_OR()
GxClientFilterCombinedModel.OPERATOR_AND()
public GxClientFilterModel SecondCondition!
The second filter condition
public GxClientFilterCombinedModel(GxClientFilterModel condition1!)
Construct new GxClientFilterCombinedModel
GxClientFilterModel
condition1! the first condition (instance of a filter model)public GxClientFilterCombinedModel(GxClientFilterModel.html">GxClientFilterModel condition1! , GxClientFilterModel.html">GxClientFilterModel condition2!)
Construct new GxClientFilterCombinedModel
GxClientFilterModel
condition1! the first condition (instance of a filter model)GxClientFilterModel
condition2! the second condition (instance of a filter model)public GxClientFilterCombinedModel(GxClientFilterModel.html">GxClientFilterModel condition1! , GxClientFilterModel.html">GxClientFilterModel condition2! , BBjString operator!)
Construct new GxClientFilterCombinedModel
GxClientFilterModel
condition1! the first condition (instance of a filter model)GxClientFilterModel
condition2! the second condition (instance of a filter model)BBjString
Operator! the combine operatorpublic void clearFilter()
Clear the filter
public JsonObject getAsJsonObject()
public static BBjString OPERATOR_AND()
Constant value which defines the AND
operator
public static BBjString OPERATOR_OR()
Constant value which defines the OR
operator
public void setFirstCondition(GxClientFilterModel condition!)
Set the first condition
GxClientFilterModel
condition! a filter model 256 when the passed condition does not support combined models
public void setSecondCondition(GxClientFilterModel condition!)
Set the first condition
GxClientFilterModel
condition! a filter model 256 when the passed condition does not support combined models
public BBjNumber supportsCombinedModel()